import React from 'react';
import './App.css';
import { Route, Switch } from 'react-router-dom';
import MyLayout from './components/MyLayout';
import Home from './pages/Home';
// eslint-disable-next-line
export default function () {
  return (
    <Switch>
      <Route path="/content" component={MyLayout} />
      <Route exact path="/" component={Home} />
    </Switch>
  );
}
